#ifndef BOSS_H
#define BOSS_H

#include <QGraphicsPixmapItem>
#include "gamedefine.h"

class Boss : public QObject, public QGraphicsPixmapItem {
    Q_OBJECT
public:
    Boss(QPixmap sprite);
    ~Boss();
    void hit();
    void deathCheck();

private:
    int health = GameDefine::BossHealth;
    QTimer* attackTimer;

signals:
    void bossDefeated();
    void bossShoot();
};

#endif // BOSS_H
